package com.ynet.middleground.approve.bean;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 流程实例查询对象
 * @date 2019-11-05 16:51
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "流程实例查询对象", description = "可用于查询流程是否结束、流程当前活动任务等服务")
public class ProcessInstanceReq extends BaseReqObj {

    private static final long serialVersionUID = -4295785237123597214L;

    @ApiModelProperty(value = "流程实例ID", notes = "流程实例ID", required = true, dataType = "String")
    @NotBlank(message = "流程实例ID不能为空")
    private String processInstanceId;

}
